package com.yzjs.service.dataInfo;


import com.yzjs.common.base.service.BaseService;
import com.yzjs.entity.dataInfo.DataInfoEntity;
import com.yzjs.dao.dataInfo.DataInfoMapper;
import com.yzjs.entity.vo.DataInfoVO;

import java.util.Map;

/**
 * 上链数据表
 *
 * @author dingjiahui
 * @email sunlightcs@gmail.com
 * @date 2021-10-19 13:44:28
 */
public interface DataInfoService extends BaseService<DataInfoEntity, DataInfoMapper> {

    /**
     * 数据上链
     *
     * @param dataInfoVO
     * @return
     * @throws Exception
     */
    public DataInfoEntity dataUpload(DataInfoVO dataInfoVO) throws Exception;

    /**
     * 数据删除
     * @param dataInfoVO
     * @return
     * @throws Exception
     */
    DataInfoEntity dataDelete(DataInfoVO dataInfoVO) throws Exception;


    DataInfoEntity dataSelect(Map<String,Object> params) throws Exception;

}

